package com.twohand.admin.Service;

import com.twohand.admin.Dto.OrderCountDto;
import com.twohand.admin.Dto.SalesListQueryDto;
import com.twohand.admin.Entity.Salesman;
import com.twohand.admin.Util.PageResponse;
import com.twohand.admin.Vo.OrderCountVo;
import com.twohand.admin.Vo.SelectOptions;

import java.util.List;

public interface SalesmanService {
    PageResponse<Salesman> salesList(SalesListQueryDto salesListQueryDto);

    Boolean addSales(Salesman salesman);
    Boolean changeSales(Salesman salesman);
    Boolean delSales(Integer id);
    Boolean setDefault(Integer id);
    List<SelectOptions> getSalesOptions();
    Salesman getDefaultSales();
    PageResponse<OrderCountVo> getOrderCountBySale(OrderCountDto orderCountDto);
}
